//


//
cc = console;
log = function (strLog) {
    cc.log(strLog, 1, 2, 3, "dsdsdsd");
    cc.debug(strLog, 1, 2, 3, "dsdsdsd");
    cc.trace(strLog, 1, 2, 3, "dsdsdsd");
    cc.error(strLog, 1, 2, 3, "dsdsdsd");
    parentCallStack(12)
}

function trace(count) {
    let caller = arguments.callee.caller;
    let i = 0;
    count = count || 10;
    cc.log("***-------------------------------***" + (i + 1));
    while (caller && i < count) {
        cc.log(caller.toString());
        caller == caller.caller;
        i++;
        cc.log("***-------------------------------***" + (i + 1));
    }
}

function parentCallStack(count) {
    let i = 0;
    let caller = arguments.callee;
    do {
        caller == caller.caller;
        i++;
        cc.log("***-------------------------------***" + caller.toString());
    } while (caller && i < count)

}

function Log() {

}

Log.prototype = {}
Log.LogErrorFormat = function (str, ...ss) {

}
Log.LogException = function (str, ...ss) {

}

Log.Ex = function (str, ...ss) {

}